package com.funny;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author Ming
 * @description sentinel限流测试启动类
 * @fileSimpleName OrderSentinelApplication
 * @fileName com.funny.OrderSentinelApplication
 * @date 2024年07月02日 18:38
 */
@RefreshScope
@SpringBootApplication
@EnableDiscoveryClient
public class OrderSentinelApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderSentinelApplication.class, args);
        System.out.println("sentinel限流,订单服务启动成功");
    }
}
